package org.adream.account.entity;

import java.io.Serializable;
import java.util.List;

public class RoleEntity extends PubClass implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4876784484209431112L;

	private String rleId;
	
	private String rleName;
	
	private String rleDesc; // role description
	
	private Integer verify;	//认证角色区分    1:认证角色    0:非认证角色
	
	private List<UserEntity> users;

	public RoleEntity(String rleId, String rleName, String rleDesc,Integer verify, List<UserEntity> users) {
		super();
		this.rleId = rleId;
		this.rleName = rleName;
		this.rleDesc = rleDesc;
		this.verify = verify;
		this.users = users;
	}

	public RoleEntity() {
		super();
	}

	public String getRleId() {
		return rleId;
	}

	public void setRleId(String rleId) {
		this.rleId = rleId;
	}

	public String getRleName() {
		return rleName;
	}

	public void setRleName(String rleName) {
		this.rleName = rleName;
	}

	public String getRleDesc() {
		return rleDesc;
	}

	public void setRleDesc(String rleDesc) {
		this.rleDesc = rleDesc;
	}

	public Integer getVerify() {
		return verify;
	}

	public void setVerify(Integer verify) {
		this.verify = verify;
	}

	public List<UserEntity> getUsers() {
		return users;
	}

	public void setUsers(List<UserEntity> users) {
		this.users = users;
	}

	@Override
	public String getTable() {
		return "acc_role";
	}
}